Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
Add Method
See Also 
Leadtools Namespace > Generic RasterCollection Class : Add Method




item
Object to add.
Adds the specified item to the end of the collection.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub Add( _
   ByVal item As T _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterCollection(Of T)
Dim item As T
 
instance.Add(item)
C# 
public virtual void Add( 
   T item
)
Managed Extensions for C++ 
public: virtual void Add( 
   T item
) 
C++/CLI 
public:
virtual void Add( 
   T item
) 

Parameters

item
Object to add.

Return Value

The index of the newly added item.

Example

For an example, refer to Generic RasterCollection.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also